home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 4
/
FM Towns Free Software Collection 4 - Disc 1.iso
/
fb386
/
pickup
/
death.bas
< prev
next >
Wrap
BASIC Source File
|
1991-10-18
|
10KB
|
232 lines
1 KEY(1) ON:ON KEY(1) GOSUB 65010
10 '
20 ' DEATH AND BIRTH / by Kazuya Shimada
30 '
40 PLAY OFF:BGM 1:LOAD@"Q:\FJ\FM\FM_1.FMB":LOAD@"PDRUM5.PMB"
50 DIM T%(4,9),V%(23),D%(47)
60 '----------------------------------------------------------------
70 TNO%=1 : TNAME$="MAIN 1"
80 FOR Y%=0 TO 4 : FOR X%=0 TO 9:READ T%(Y%,X%):NEXT:NEXT:GOSUB *TNCONV
90 ' AF OM WF SY SP PMD AMD PMS
100 DATA 62, 15, 0, 0, 0, 0, 0, 0, 0, 0
110 ' AR DR SR RR SL TL KS ML DT AMS
120 DATA 31, 0, 0, 6, 0, 29, 0, 2, 3, 0
130 DATA 31, 0, 0, 6, 0, 28, 0, 3, 0, 0
140 DATA 31, 0, 0, 6, 0, 27, 0, 5, 0, 0
150 DATA 31, 0, 0, 6, 0, 10, 0, 2, 0, 0
160 '----------------------------------------------------------------
170 TNO%=2 : TNAME$="BASS"
180 FOR Y%=0 TO 4 : FOR X%=0 TO 9:READ T%(Y%,X%):NEXT:NEXT:GOSUB *TNCONV
190 ' AF OM WF SY SP PMD AMD PMS
200 DATA 16, 15, 0, 0, 0, 0, 0, 0, 0, 0
210 ' AR DR SR RR SL TL KS ML DT AMS
220 DATA 31, 18, 0, 6, 2, 48, 0, 8, 0, 0
230 DATA 31, 14, 4, 6, 2, 25, 0, 0, 7, 0
240 DATA 31, 10, 4, 6, 2, 19, 1, 0, 3, 0
250 DATA 31, 8, 3, 6, 2, 10, 1, 0, 0, 0
260 '----------------------------------------------------------------
270 '
280 TNO%=3 : TNAME$="SUB"
290 FOR Y%=0 TO 4 : FOR X%=0 TO 9:READ T%(Y%,X%):NEXT:NEXT:GOSUB *TNCONV
300 ' AF OM WF SY SP PMD AMD PMS
310 DATA 60, 15, 0, 0, 0, 0, 0, 0, 0, 0
320 ' AR DR SR RR SL TL KS ML DT AMS
330 DATA 31, 10, 4, 7, 3, 34, 1, 3, 3, 0
340 DATA 31, 10, 4, 7, 3, 34, 1, 3, 3, 0
350 DATA 31, 7, 8, 7, 6, 10, 1, 1, 7, 0
360 DATA 31, 7, 8, 7, 6, 10, 1, 4, 7, 0
370 '----------------------------------------------------------------
380 TNO%=4 : TNAME$="MAIN 2"
390 FOR Y%=0 TO 4 : FOR X%=0 TO 9:READ T%(Y%,X%):NEXT:NEXT:GOSUB *TNCONV
400 ' AF OM WF SY SP PMD AMD PMS
410 DATA 2, 15, 0, 0, 0, 0, 0, 0, 0, 0
420 ' AR DR SR RR SL TL KS ML DT AMS
430 DATA 31, 4, 3, 5, 3, 23, 0, 1, 2, 0
440 DATA 31, 4, 3, 5, 3, 30, 0, 1, 3, 0
450 DATA 31, 4, 3, 5, 3, 20, 0, 2, 7, 0
460 DATA 31, 4, 3, 5, 3, 10, 0, 1, 0, 0
470 '----------------------------------------------------------------
480 TNO%=5 : TNAME$="SUB2"
490 FOR Y%=0 TO 4 : FOR X%=0 TO 9:READ T%(Y%,X%):NEXT:NEXT:GOSUB *TNCONV
500 ' AF OM WF SY SP PMD AMD PMS
510 DATA 61, 15, 0, 0, 0, 0, 0, 0, 0, 0
520 ' AR DR SR RR SL TL KS ML DT AMS
530 DATA 31, 19, 13, 9, 6, 23, 1, 8, 1, 0
540 DATA 31, 18, 11, 9, 4, 10, 1, 1, 3, 0
550 DATA 31, 18, 11, 9, 4, 10, 1, 2, 0, 0
560 DATA 31, 18, 11, 9, 4, 10, 1, 1, 0, 0
570 '----------------------------------------------------------------
580 GOTO 720
590 *TNCONV
600 FOR I%=0 TO 3:J%=I%+1:D%(8+I%)=(T%(J%,8)AND 7)*16+(T%(J%,7)AND 15)
610 D%(12+I%)=(T%(J%,5) AND 127)
620 D%(16+I%)=(T%(J%,6) AND 3)*64+(T%(J%,0) AND 31)
630 D%(20+I%)= T%(J%,1) AND 31:D%(24+I%)=T%(J%,2) AND 31
640 D%(28+I%)=(T%(J%,4) AND 15)*16+(T%(J%,3) AND 15):NEXT
650 D%(32)=T%(0,0):D%(33)=&HC0+((T%(0,7) AND 3)*16)+((T%(0,8) AND 7))
660 A$=LEFT$(TNAME$+" ",8)
670 FOR I%=0 TO 7:D%(I%)=ASC(MID$(A$,I%+1,1)):NEXT
680 FOR I%=0 TO 47 STEP 2:L&=D%(I%+1)*256+D%(I%)
690 IF L&<&H8000 THEN V%(I% \ 2)=CINT(L&) ELSE V%(I% \ 2)=CINT(L&-&H10000)
700 NEXT:VOICE TNO%,V%:RETURN
710 '----------------------------------------------------------------
720 FOR I=0 TO 13:PART I,I:NEXT
730 T$="T155Q8L8%CU0"
740 PLAY T$,T$,T$,T$,T$,T$,T$,T$,T$,T$,T$,T$,T$,T$
750 A0$="@1V8L1"
760 B0$="@1U90V8L1"
770 C0$="@5U50V10L12"
780 F0$="@2V8L12"
790 G0$="@1V15L4O4"
800 H0$="@3V11L12O4EEEEEEEEEEEEV8@13GGGEEECCC<AAA>@3V11L4"
810 J0$="@21U40%R@V18L1"
820 K0$="@21U80%L@V18L1"
830 R0$="R1 R1"
840 A1$="V7O4E-F"
850 A1B$="V9O4E-F"
860 C1$="O4((CDE-)4)"
870 F1$="O3((C>C<C)4)"
880 G1$=" CRCR CRC12R12C12R"
890 H1$="(RERE)"
900 J1$="O4CD"
910 R1$="R1"
920 A2$="V8O4GA-"
930 A2B$="V10O4GA-"
940 H2$="RERE RERL12EEEL4"
950 H2B$="RERE REL12REREREL4"
960 J2$="O4E-F"
970 A3$="@3U0Q6V6%CL12O5C<CEG>C>C<GECEGE C<E>C<GEG>GEC>C<EG"
980 B3$="@3U90Q6V6%CL12O5C<CEG>C>C<GECEGE C<E>C<GEG>GEC>C<EG"
990 F3$="O3(C>C<C)4 <(B->B-<B-)4"
1000 J3$="O4C C"
1010 A4$="O4FA>C<FA>C<FA>FA>CF <<GB>D<GB>D<GB>GB>DG"
1020 F4$="O2(F>F<F)4 (G>G<G)4"
1030 J4$="O3F G2B4B4"
1040 M5$="@18U60@V32%CL1O4G& F"
1050 F5$="O3((C>C<C)4)"
1060 J5$="O3A-& A-"
1070 J6$="O3B-& B-"
1080 M6$="O4E& D"
1090 G7$="CRCR R1"
1100 H7$="RERE L12EEEEEEEEEEEEL4"
1110 J7$="O4C&C&"
1120 J7B$="O4C <G"
1130 K7$="@18U40@V20%LL1O4E& E&"
1140 K7B$="O4E D"
1150 L7$="@18U80@V20%RL1O4E& E&"
1160 M7$="O4E& E&"
1170 M7B$="O4E R"
1180 A8$="@4U0%CQ8V8L4O4GE-FA- G2FE-"
1190 B8$="@4U110%CQ8V8L4O4GE-FA- G2FE-"
1200 F8$="O3((C>C<C)4)"
1210 G8$="(CRCR)"
1220 H8$="(RERE)"
1230 J8$="O4C C"
1240 M8$="O4A G"
1250 A9$="O4D1& D<B->CD"
1260 F9$="O2((G>G<G)4)"
1270 J9$="O3G& @V14>G@V18"
1280 A10$="O4D2.E-6C12& C2<B-A-"
1290 F10$="O2((A->A-<A-)4)"
1300 J10$="O3A-& A-"
1310 A11$="O3A->CGF C2D2"
1320 F11$="O2(F>F<F)4 (F>F<F)(G>G<G)"
1330 G11$="CRCR CRCR"
1340 H11$="RERE RERE12E12E12"
1350 J11$="F& F2G2"
1360 A12$="O4D4&D6E-12E-4F8E-8& E-E-FG"
1370 F12$="O2(A->A-<A-)4 (A->A-<A-)4"
1380 J12$="O3A-& A-"
1390 A13$="O4G1 A-2B-G"
1400 F13$="O2((G>G<G)4)"
1410 G13$="CRCR CRCR"
1420 H13$="RERE REL12RREEEEL4"
1430 J13$="O3G& G"
1440 A14$="O4FC6F12&F2& FFGF"
1450 F14$="O2((F>F<F)4)"
1460 J14$="O3F& F"
1470 A15$="O4E-<B-6>E-12&E-2 B-A-GB-"
1480 F15$="O2((E->E-<E-)4)"
1490 J15$="O3E- E-"
1500 A16$="O4E-1 R1"
1510 F16$="O2((E->E-<E-)4)"
1520 G16$="CRCR CRC12R12C12R"
1530 H16$="RERE RERE"
1540 J16$="O3E- >E-2D2"
1550 A17$="O4A-2A-2 B-2.R"
1560 F17$="O2(A->A-<A-)4 (B->B-<B-)4"
1570 J17$="O3A- B-"
1580 G18$="CCCC"
1590 H18$="L12REEREEREEEEEL4"
1600 A19$="O4B-1 G2A-B-"
1610 F19$="O2((E->E-<E-)4)"
1620 J19$="O4E-& E-"
1630 A20$="O4B-2A-G A-2.R"
1640 F20$="O3(D>D<D)4 <(A->A-<A-)4"
1650 J20$="O4D <A-"
1660 A21$="O4A-GE-B- FGA-F"
1670 F21$="O2(A->A-<A-)4 (F>F<F)4"
1680 J21$="O3A- F"
1690 A22$="O4B-2A-G >C&C6<B-12&B-R"
1700 F22$="O2((G>G<G)4)"
1710 G22$="CRCR CRRR"
1720 H22$="RERE REL12EEEEEEL4"
1730 J22$="O3G& G"
1740 A23$="O4A-2CE- DE-A-G"
1750 F23$="O2(A->A-<A-)4 (B->B-<B-)4"
1760 J23$="O3A- B-"
1770 A24$="O4E-1& E-R2."
1780 F24$="O2((E->E-<E-)4)"
1790 J24$="O3E-& E-&"
1800 F25$="O2(E->E-<E-)4 >E-4"
1810 G25$="CRCR CRRR"
1820 H25$="REL12REEEEE L4ERRR"
1830 J25$="O3E-& E-4R2."
1840 PLAY A0$,B0$,C0$,D0$,E0$,F0$,G0$,H0$,I0$,J0$,K0$
1850 PLAY R0$,B1$,C1$,D1$,E1$,F1$,G1$,H1$,I1$,J1$,J1$
1860 PLAY R0$,B1$,C1$,D1$,E1$,F1$,G1$,H1$,I1$,J2$,J2$
1870 PLAY R0$,B1$,C1$,D1$,E1$,F1$,G1$,H1$,I1$,J1$,J1$
1880 PLAY R0$,B1$,C1$,D1$,E1$,F1$,G1$,H2$,I1$,J2$,J2$
1890 PLAY A1$,A1$,C1$,D1$,E1$,F1$,G1$,H1$,I1$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
2080 PLAY A9$,A9$,C9$,D9$,E9$,F9$,G8$,H8$,I8$,J9$,J9$,K9$,L9$
2090 PLAY A12$,A12$,C12$,D12$,E12$,F12$,G8$,H8$,I8$,J12$,J12$,K12$,L12$
2100 PLAY A13$,A13$,C13$,D13$,E13$,F13$,G13$,H13$,I13$,J13$,J13$,K13$,L13$
2110 PLAY A14$,A14$,C14$,D14$,E14$,F14$,G8$,H8$,I8$,J14$,J14$,K14$,L14$
2120 PLAY A15$,A15$,C15$,D15$,E15$,F15$,G8$,H8$,I8$,J15$,J15$,K15$,L15$
2130 PLAY A14$,A14$,C14$,D14$,E14$,F14$,G8$,H8$,I8$,J14$,J14$,K14$,L14$
2140 PLAY A16$,A16$,C16$,D16$,E16$,F16$,G16$,H16$,I16$,J16$,J16$,K16$,L16$
2150 PLAY A14$,A14$,C14$,D14$,E14$,F14$,G8$,H8$,I8$,J14$,J14$,K14$,L14$
2160 PLAY A15$,A15$,C15$,D15$,E15$,F15$,G8$,H8$,I8$,J15$,J15$,K15$,L15$
2170 PLAY A14$,A14$,C14$,D14$,E14$,F14$,G8$,H8$,I8$,J14$,J14$,K14$,L14$
2180 PLAY A17$,A17$,C17$,D17$,E17$,F17$,G8$,H8$,I8$,J17$,J17$,K17$,L17$
2190 PLAY R1$,R1$,R1$,R1$,R1$,R1$,G18$,H18$,I18$,R1$,R1$,R1$,R1$
2200 PLAY A19$,A19$,C19$,D19$,E19$,F19$,G8$,H8$,I8$,J19$,J19$,K19$,L19$
2210 PLAY A20$,A20$,C20$,D20$,E20$,F20$,G8$,H8$,I8$,J20$,J20$,K20$,L20$
2220 PLAY A21$,A21$,C21$,D21$,E21$,F21$,G8$,H8$,I8$,J21$,J21$,K21$,L21$
2230 PLAY A22$,A22$,C22$,D22$,E22$,F22$,G22$,H22$,I22$,J22$,J22$,K22$,L22$
2240 PLAY A19$,A19$,C19$,D19$,E19$,F19$,G8$,H8$,I8$,J19$,J19$,K19$,L19$
2250 PLAY A20$,A20$,C20$,D20$,E20$,F20$,G8$,H8$,I8$,J20$,J20$,K20$,L20$
2260 PLAY A23$,A23$,C23$,D23$,E23$,F23$,G8$,H8$,I8$,J23$,J23$,K23$,L23$
2270 PLAY A24$,A24$,C24$,D24$,E24$,F24$,G8$,H8$,I8$,J24$,J24$,K24$,L24$
2280 PLAY A25$,A25$,C25$,D25$,E25$,F25$,G25$,H25$,I25$,J25$,J25$,K25$,L25$
65000 BGM 0:PLAY"R64":BGM 1
65010 CLOSE #1 :KEY(1) OFF:PLAY OFF:RUN"MENU.BAS"